package com.tuanzi.loan.business.entity.sms;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.Data;

/**
 * 号码归属地
* @author chenweijun 
* @version 2018年7月25日
*/
@Data
@Entity
@Table(name = "phone_location")
public class PhoneLocation implements Serializable {
	
	private static final long serialVersionUID = 8904594786443174814L;
	
	@Id
	@Column(name = "id")
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Long id;
	
	@Column(name = "pref")
	private String phonePref;

	@Column(name = "phone")
	private String phone;

	@Column(name = "province")
	private String province;

	@Column(name = "city")
	private String city;

	@Column(name = "isp")
	private Integer telecomOperator;

	@Column(name = "post_code")
	private String postCode;

	@Column(name = "city_code")
	private String cityCode;
	
	@Column(name = "area_code")
	private String areaCode;
	
}
